footer {

  margin-top: 50px;

}

.footer-top {

  display: flex;
  justify-content: space-between;
  width: 800px;
  margin: 0 auto;
}

.footer-top a {
  font-size: 16px;
  color: #000000;
}

.footer-top p:nth-child(1) span,
.footer-top p:nth-child(2) span,
.footer-top p:nth-child(3) span {
  display: inline-block;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  font-size: 30px;
  color: white;
  border-radius: 50px;
  background-color: #ee3029;
  vertical-align: middle;
}

.footer-main {
  margin-top: 50px;
  box-sizing: border-box;
  padding: 40px;
  background-color: #f6f6f6;
  display: flex;
  justify-content: space-around;
  margin-bottom: 30px;
}

.footer-main a {
  color: #666666;
  font-size: 12px;
}

.footer-main dl dt a {
  color: #000000;
  font-size: 18px;
}

.footer-main dl dt {
  margin-left: -20px;
}

.footer-main dl {
  line-height: 20px;
}

.footer-main dd:hover {
  text-decoration: underline;
}

.footer-main dl dt:hover {
  text-decoration: underline;
}


/*  */
.footer-ab {

  width: 1000px;
  box-sizing: border-box;
  padding: 20px 0;

  margin: 0 auto;
  border: 1px solid black;
  border-left: none;
  border-right: none;
}

.footer-ab ul {
  width: 600px;
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
}

/*  */
.footer-text {
  margin-top: 30px;
  box-sizing: border-box;
  padding-bottom: 30px;
}

.footer-text ul {
  width: 900px;
  margin: 0 auto;
  display: flex;


}

.footer-text ul li:nth-child(1) span:nth-child(1) {
  display: inline-block;
  width: 120px;
  height: 40px;
  background-image: url(../img/base.png);
  background-position: 0 42px;


}

.footer-text ul li:nth-child(1) span:nth-child(2) {
  display: inline-block;
  width: 120px;
  height: 40px;
  background-image: url(../img/base.png);
  background-position: -118px 42px;


}

.footer-text ul li:nth-child(1) {
  position: relative;
  display: flex;
}

.footer-text ul li:nth-child(1)::after {
  content: "";
  width: 2px;
  height: 30px;
  background-color: rgba(94, 94, 94, 0.781);
  position: absolute;
  right: -7px;
  top: 3px;
}

.footer-text ul li:nth-child(2) {

  font-size: 12px;

}



.footer-text ul li:nth-child(3) img {
  vertical-align: baseline;
  width: 80px;
  height: 40px;
}

.footer-text ul li {
  margin-left: 20px;
}